package com.hua.yuan.userlogin.business.parser;

import com.alibaba.fastjson.annotation.JSONField;
import com.hua.yuan.provider.user.User;

/**
 * @Author: richsjeson.
 * @Description: TODO()
 * @Date:Created in 2018/12/30 11:07 AM.
 * @Modified By:
 */
public class UserLoginResult {

    @JSONField(name="error_code")
    private int mErrorCode;
    @JSONField(name="error_msg")
    private String mErrorMsg;
    @JSONField(name="token")
    private String mToken;
    @JSONField(name="user")
    private User mUser;


    public int getErrorCode() {
        return mErrorCode;
    }

    public void setErrorCode(final int pErrorCode) {
        this.mErrorCode = pErrorCode;
    }

    public String getErrorMsg() {
        return mErrorMsg;
    }

    public void setErrorMsg(final String pErrorMsg) {
        this.mErrorMsg = pErrorMsg;
    }

    public String getToken() {
        return mToken;
    }

    public void setToken(final String pToken) {
        this.mToken = pToken;
    }

    public User getUser() {
        return mUser;
    }

    public void setUser(final User pUser) {
        this.mUser = pUser;
    }
}
